//
//  WJThreeCollectionViewCell.m
//  天气
//
//  Created by dllo on 16/8/23.
//  Copyright © 2016年 WJ. All rights reserved.
//

#import "WJThreeCollectionViewCell.h"
#define kWJWidth  [UIScreen mainScreen].bounds.size.width
#define kWJHeight [UIScreen mainScreen].bounds.size.height

@implementation WJThreeCollectionViewCell

-(instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        [self createView];
    }
    return self;
}
- (void)createView
{
    self.picView = [[UIImageView alloc]initWithFrame:CGRectMake(20, 15, 40, 40)];
    [self.contentView addSubview:self.picView];
    
    self.typeLabel = [[UILabel alloc]initWithFrame:CGRectMake(80, 15,kWJWidth / 2 - 80 , 20)];
    self.typeLabel.textColor = [UIColor lightGrayColor];
    self.typeLabel.font = [UIFont systemFontOfSize:13];
    [self.contentView addSubview:self.typeLabel];
    
    self.label = [[UILabel alloc]initWithFrame:CGRectMake(80, 35,kWJWidth / 2 - 80 , 20)];
    self.label.textColor = [UIColor whiteColor];
    self.label.font = [UIFont systemFontOfSize:13];
    [self.contentView addSubview:self.label];
    
}















@end
